package com.qf.swagger2204.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(value= JsonInclude.Include.NON_NULL)
public class Vote {
    private Integer id;
    private String phone;
    private Integer voteNum;
    private Date updateTime;
    private Integer candidateId;
    @TableField(exist = false) // 说明该属性并没有对应的数据库表字段
    private String cantidateName;
}
